﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HtmlTo.LayoutEngine
{
    /// <summary>
    /// <para>Layout Text Node</para>
    /// </summary>
    public class LayoutText : LayoutNode
    {
        /// <summary>
        /// <para>Font Family Name</para>
        /// </summary>
        public string FontFamily { get; set; }
        /// <summary>
        /// <para>Font Size in Pixels</para>
        /// </summary>
        public float FontSize { get; set; }

        /// <summary>
        /// <para>Is Bold</para>
        /// </summary>
        public bool IsBold { get; set; }
        /// <summary>
        /// <para>Is Italic</para>
        /// </summary>
        public bool IsItalic { get; set; }
        /// <summary>
        /// <para>Is Underline</para>
        /// </summary>
        public bool IsUnderline { get; set; }
        /// <summary>
        /// <para>Is Strikeout</para>
        /// </summary>
        public bool IsStrikeout { get; set; }

        /// <summary>
        /// <para>The text value</para>
        /// </summary>
        public string Value { get; set; }
    }
}
